Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController B

Total Complexity 83
Dependencies 14
Dependents 17
Total lines 789
Lines of code 405
Logical lines of code 191
Comment lines 198
Methods 23
Properties 10

Methods 23

Method Rating Maintainability Complexity Lines of code
get_hpos_setting_for_sync()
A
37 12 84
process_updated_option_fts_index()
A
48 11 37
sync_now()
A
48 9 33
process_pre_update_option()
A
52 9 25
get_hpos_setting_for_feature()
S
46 6 40
add_hpos_tools()
S
48 6 33
process_updated_option()
S
66 6 8
recreate_order_address_fts_index()
S
54 3 24
get_data_store_instance()
S
63 3 12
register_post_type_for_order_placeholders()
S
54 1 24
add_feature_definition()
S
57 1 18
hpos_data_caching_is_enabled()
S
75 2 4
delete_custom_orders_tables()
S
69 2 7
maybe_rewrite_order_edit_link()
S
71 2 6
maybe_set_order_cache_group_as_non_persistent()
S
74 2 5
init_hooks()
S
59 1 13
init()
S
61 1 12
__construct()
S
82 1 3
custom_orders_table_usage_is_enabled()
S
79 1 3
get_orders_data_store()
S
79 1 3
get_refunds_data_store()
S
79 1 3
register_removable_query_arg()
S
73 1 5
changing_data_source_with_sync_pending_is_allowed()
S
79 1 3